import React, {Component} from 'react';

export default class extends React.Component {
  render() {
    console.log("UI-" + this.props)
    const {count, actions, actionState}=this.props

    return (
      <div>
        <div>{count}</div>
        <span>
        <button onClick={actions.add}> 开始</button>
          <button onClick={actions.pause}>结束</button>
            <button onClick={}>清零</button>
          </span>
      </div>
    );
  }


};


